package fun.sweeper.unity.entity;

import fun.sweeper.base.entity.BaseEntity;

import java.util.Date;

/**
 * 订单信息表 hh_order
 * @author chongjin
 */
public class HhOrder extends BaseEntity {

    private static final Long serialVersionUID = 2089493937905915627L;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 组织id
     */
    private Long orgId;

    /**
     * 师傅id
     */
    private Long workerId;

    /**
     * 客户id
     */
    private Long consumerId;

    /**
     * 订单总价
     */
    private String amount;

    /**
     * 状态 0:未打印 1:已打印 2:已结算
     */
    private Integer status;

    /**
     * 类型 1:销售单 2:退货单
     */
    private Integer type;

    /**
     * 开单时间
     */
    private Date orderDate;

    /**
     * 结算单号
     */
    private Long summaryId;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public Long getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Long consumerId) {
        this.consumerId = consumerId;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Long getSummaryId() {
        return summaryId;
    }

    public void setSummaryId(Long summaryId) {
        this.summaryId = summaryId;
    }

}
